<?php
return array(
	//'配置项'=>'配置值'
	
	//数据库配置信息
	'DB_TYPE' => 'mysql', //数据库类型
    'DB_HOST' => '127.0.0.1', //数据库主机
    'DB_NAME' => 'admin_zunyi', //数据库名称
    'DB_USER' => 'root', //数据库用户名
    'DB_PWD' => '', //数据库密码
    'DB_PORT' => '3306', //数据库端口
    'DB_PREFIX' => '', //数据库前缀
	'DB_CHARSET'=> 'utf8', // 字符集
	'DB_DEBUG'  => '', // 数据库调试模式 开启后可以记录SQL日志
	
	'DB_CONFIG1' => array( 'db_type' => 'mysql', 'db_user' => 'root', 'db_pwd' => '', 'db_host' => '127.0.0.1', 'db_port' => '3306', 'db_name' => 'yp_zunyimj'),
	//'DB_CONFIG1' => 'mysql:Shenzhen19820426//root:@101.37.81.210:3306/yp_wenzhoumj',

	'SESSION_OPTIONS'         =>  array(
        'name'                =>  'BJYSESSION',                    //设置session名
        'expire'              =>  21600,                      //SESSION过期时间，单位秒
        'use_trans_sid'       =>  1,                               //跨页传递
        'use_only_cookies'    =>  0,                               //是否只开启基于cookies的session的会话方式
    ),
	// 表单令牌验证相关的配置参数

    'TOKEN_ON'      =>    true,  // 是否开启令牌验证 默认关闭

    'TOKEN_NAME'    =>    '__hash__',    // 令牌验证的表单隐藏字段名称，默认为__hash__

    'TOKEN_TYPE'    =>    'md5',  //令牌哈希验证规则 默认为MD5

    'TOKEN_RESET'   =>    true,  //令牌验证出错后是否重置令牌 默认为true 

	'URL_HTML_SUFFIX'=>'html|shtml|xml',
	'URL_MODEL'=>'2',
	'URL_ROUTER_ON' => true,
	  'URL_ROUTE_RULES' =>  array(
	       'agreement' => "zy_agent/Home/Index/agreement", 			 //验证码
	       'logint' => "zy_agent/Home/Login/logint", 			 //验证码
	       'Verify' => "zy_agent/Home/Login/Verify", 			 //验证码
	       'login' => "zy_agent/Home/Login/login", 				 //登录页面
               'checkLogin' => "zy_agent/Home/Login/checkLogin", 	         //登录验证页面
	       'index' => "zy_agent/Home/Index/index", 				 //首页
	       'creatuser' => "Home/Index/creatuser",				     //添加代理
	       'checkCreatuser' => "Home/Index/checkCreatuser",				     //添加代理跳转
	       'Searchplayer' => "Home/Index/Searchplayer",				 //玩家冲钻
	       'chargegoldtoplayer' => "Home/Index/chargegoldtoplayer",  //玩家冲钻时的信息
	       'money_settle' => "Home/Index/money_settle",				 //充值处理跳转页面
	       'myadmin' => "Home/Index/myadmin", 						 //我的代理
		   'myinfo' => "Home/Index/myinfo",							 //查看代理信息  或者我的信息
	       'ChargeGoldToAgent' => "Home/Index/ChargeGoldToAgent", 	 //代理冲钻
	       'agentmodi' => "Home/Index/agentmodi",					 //修改代理信息
	       'playercharge' => "Home/Index/playercharge",				 //赠送玩家钻石记录
	       'agentcharge' => "Home/Index/agentcharge",				 //下级代理买钻记录（多个）
	       'agentbuygold' => "Home/Index/agentbuygold",				 //我的代理买钻记录（一个）
	       'buygold' => "Home/Index/buygold",				 		 //我的买钻记录
	       'policy' => "Home/Index/policy",				 			 //代理政策
	       'reward' => "Home/Index/reward",				 			 //我的返利页面
	       'settle' => "Home/Index/settle",				 			 //我的返利结算领取页面
	       'superior_settle' => "Home/Index/superior_settle",		 //我的下级返利结算页面
	       'subordinate' => "Home/Index/subordinate",				 //我的下级返利领取页面
	       'setnotice' => "Home/Index/setnotice",				 	 //消息通知
	       'policyedit' => "Home/Index/policyedit",				 	 //政策管理
	       'payoff' => "Home/Index/payoff",				 	 		 //微信充值
	       'payoff_jump' => "Home/Index/payoff_jump",				 //微信充值
	       'modipass' => "Home/Index/modipass",//首页
	       'img' => "Home/Index/img",//首页
	       'addition' => "Home/Index/addition",//首页
		   
	  ), 	

);